const requireAll = require('require-all');

const extds = requireAll({
    dirname: __dirname,
    filter: /^(?!index).*\.js$/
});

module.exports = function (app) {
    Object.values(extds).forEach((ext) => {
        ext(app);
    });
};